#!/bin/bash

grep nginx   /var/spool/cron/root &>/dev/null  ||echo  '*/5 * * * *  /usr/local/nginx/sbin/nginx -t && /usr/local/nginx/sbin/nginx   -s reload'  >>  /var/spool/cron/root
# crontab计划任务；nginx配置自动载入

